<template>
    <div>
        <div class="table-responsive">
            <a><button type="button" class="btn btn-primary" @click="downloadfile">导出</button>></a>
            <form class="form-horizontal" id="form_table" action="/import" enctype="multipart/form-data" method="post">
                <br/>
                <br/>
                <button type="submit" class="btn btn-primary">导入</button>>
                    <input class="form-input" type="file" name="filename"></input>
            </form>
        </div>

    </div>
</template>

<style>
</style>
<script>

    export default {
        data() {
            return {

            }
        },
        methods:{
            downloadfile(){
                window.location.href='/poi/export';
            },
        }
    }

</script>
